package com.shenmazong.service;

import com.github.pagehelper.PageInfo;
import com.shenmazong.pojo.TbTaskTheoryLibrary;
import com.baomidou.mybatisplus.extension.service.IService;
import com.shenmazong.utils.ResultResponse;
import com.shenmazong.vo.TaskTheoryListVo;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 *
 */
public interface TbTaskTheoryLibraryService extends IService<TbTaskTheoryLibrary> {

    PageInfo findTaskTheoryLibraryList(Integer pageNum, Integer pageSize, Object taskTheoryLibrary);

    ResultResponse echoTaskTheoryLibrary(TbTaskTheoryLibrary tbTaskTheoryLibrary);

    ResultResponse updateTaskTheoryLibrary(TbTaskTheoryLibrary tbTaskTheoryLibrary);

    ResultResponse delTaskTheoryLibrary(TbTaskTheoryLibrary tbTaskTheoryLibrary);

    ResultResponse uploadFile(MultipartFile file) throws IOException;

    ResultResponse onLineInputTaskTheory(TaskTheoryListVo taskTheoryList);
}
